package javax.core.storage.service;

import javax.core.storage.entity.FileStorageDO;
import javax.core.storage.entity.SaveResultDO;
import java.io.File;
import java.io.InputStream;

public interface FileStorageService {

	File getFileByXpath(String xpath);

	FileStorageDO getOneFileById(Long id);

	SaveResultDO saveFile(FileStorageDO fileStorage, InputStream fileInputStream);
}
